package com.tanhua.domain.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:ZQX
 * @Date:2021/10/6 16:40
 * @Description:
 */
@Data
@Document(collection = "question")
public class Question implements Serializable {
    private ObjectId id; //主键id
    private ObjectId questionnaireId; //调查问卷的发布id
    private String question;  //调查问卷的题目

}
